package com.yaorange.service.impl;

import com.yaorange.dao.CustomerSourceMapper;
import com.yaorange.entity.CustomerSource;
import com.yaorange.service.CustomerSourceService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class CustomerSourceServiceImpl implements CustomerSourceService {

    @Resource
    private CustomerSourceMapper customerSourceMapper;


    @Override
    public List<CustomerSource> getList() {
        return customerSourceMapper.selectAll();
    }
}
